```
Feature: options
It's a scenario which check if options call asked by the mobile is correctly returned
Scenario: Get options in logged off mode and Not russian
Scenario: Get options in logged off mode and russian
```
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 2 | 0 |
| Prerequest Scripts | 4 | 0 |
| Test Scripts | 4 | 0 |
| Assertions | 11 | 3 |
| Skipped Tests | 0 | - |
expected undefined to deeply equal null
Cannot read property 'map' of null
expected null to not deeply equal null
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Accept-Language | en-US |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 252e952f-5746-4022-b326-07c08aeb55eb |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Content-Length | 1229 |
| Date | Wed, 23 Jun 2021 07:19:43 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Accept-Ranges | bytes |
| Connection | keep-alive |
{"status":200,"data":{"sso":{"facebook":{"enable":true},"google":{"enable":false},"vk":{"enable":false},"password":{"enable":true},"sms":{"enable":false,"country_codes":["FR","US","CA","DK","NO","BE","PL"]}},"report_types":[{"id":"10407","name":"Underage","description":"Underage","level":5},{"id":"b30b1e25-1aa6-4eae-8119-54acf52887fd","name":"Video call: bad behavior","description":"Video call: bad behavior","level":4},{"id":"10408","name":"Commercial profile","description":"Commercial profile","level":3},{"id":"10406","name":"Inappropriate picture","description":"Inappropriate picture","level":4},{"id":"10403","name":"Fake profile","description":"Fake profile","level":1},{"id":"10404","name":"Bad behavior","description":"Bad behavior","level":1},{"id":"10405","name":"Scam","description":"Scam","level":4}],"achievement_types":null,"last_tos_version":null,"last_cookie_v1_version":null,"last_cookie_v2_version":null,"last_cookie_v3_version":null,"ads_inventory":null,"shop_template":1,"shop":[],"crush_time":null,"charms_sent":{"enable":true},"timeline":null,"has_pending_likes":{"enable":false},"force_update":{},"cookie_version_enabled":false,"app_tracking_transparency_enabled":false},"success":true,"error_code":0}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Logged off user should no get availability_types | 0 | 1 | 0 |
| Logged off user should get report types | 1 | 0 | 0 |
| Logged off user should get achievement types | 0 | 1 | 0 |
| Logged off user should have shop_template value 1 | 1 | 0 | 0 |
| Logged off user should not have ads inventory | 1 | 0 | 0 |
| Logged off user should not have have crush time configuration | 1 | 0 | 0 |
| Logged off user should not have have timeline configuration | 1 | 0 | 0 |
| Logged off user should have last tos version | 0 | 1 | 0 |
| Logged off user should have charms_sent enabled | 1 | 0 | 0 |
| Logged off user should have appropriate sso options | 1 | 0 | 0 |
| Total | 7 | 3 | 0 |
| Test Name | Assertion Error |
|---|---|
| Logged off user should no get availability_types | |
| Logged off user should get achievement types | |
| Logged off user should have last tos version | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Accept-Language | ru-RU |
| User-Agent | PostmanRuntime/7.26.8 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3363dea0-b6fd-45ee-881e-d6a2b0e97a6e |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Content-Length | 1597 |
| Date | Wed, 23 Jun 2021 07:19:50 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Accept-Ranges | bytes |
| Connection | keep-alive |
{"status":200,"data":{"sso":{"facebook":{"enable":true},"google":{"enable":false},"vk":{"enable":false},"password":{"enable":true},"sms":{"enable":false,"country_codes":["FR","US","CA","DK","NO","BE","PL"]}},"report_types":[{"id":"10407","name":"Несовершеннолетний","description":"Несовершеннолетний","level":5},{"id":"b30b1e25-1aa6-4eae-8119-54acf52887fd","name":"Видеозвонок: ненадлежащее поведение","description":"Видеозвонок: ненадлежащее поведение","level":4},{"id":"10404","name":"Ненадлежащее поведение","description":"Ненадлежащее поведение","level":1},{"id":"10406","name":"Неуместная картинка","description":"Неуместная картинка","level":4},{"id":"10405","name":"Мошенничество","description":"Мошенничество","level":4},{"id":"10408","name":"Коммерческий профиль","description":"Коммерческий профиль","level":3},{"id":"10403","name":"Поддельный профиль","description":"Поддельный профиль","level":1}],"achievement_types":null,"last_tos_version":null,"last_cookie_v1_version":null,"last_cookie_v2_version":null,"last_cookie_v3_version":null,"ads_inventory":null,"shop_template":1,"shop":[],"crush_time":null,"charms_sent":{"enable":true},"timeline":null,"has_pending_likes":{"enable":false},"force_update":{},"cookie_version_enabled":false,"app_tracking_transparency_enabled":false},"success":true,"error_code":0}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Logged off user should have appropriate sso options | 1 | 0 | 0 |
| Total | 1 | 0 | 0 |
| Test Name | Assertion Error |
|---|